<?php
/**
 * app 应用程序启动脚本
 */
global $g_boot_time;
$g_boot_time = microtime(true);

$app_config = require(dirname(__FILE__) . '/config/boot.php');
require $app_config['ML_DIR'] . '/ml.php';
require 'app/myapp.php';
new MyApp($app_config);
//$ret = MyApp::instance($app_config)->dispatching();
//if (is_string($ret)) echo $ret;

//return $ret;

/** test **/
//echo ML::ini('DB_HOST');
//echo ML::ini('appini/APPID');
dump(ML::ini('/'));

new Db_Factory();